/*  
 * Copyright (c) 2009  Christian Riekoff <info@texone.org>  
 *  
 *  This file is free software: you may copy, redistribute and/or modify it  
 *  under the terms of the GNU General Public License as published by the  
 *  Free Software Foundation, either version 2 of the License, or (at your  
 *  option) any later version.  
 *  
 *  This file is distributed in the hope that it will be useful, but  
 *  WITHOUT ANY WARRANTY; without even the implied warranty of  
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  
 *  General Public License for more details.  
 *  
 *  You should have received a copy of the GNU General Public License  
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.  
 *  
 * This file incorporates work covered by the following copyright and  
 * permission notice:  
 */
package cc.creativecomputing.timeline.model.communication;

import cc.creativecomputing.timeline.model.TrackType;

public class TypeProperties {
	private float _myMinum;
	private float _myMaximum;
	private TrackType _myTrackType;
	private boolean _myAccumulateValues = false;
	
	public TypeProperties(TrackType theTrackType, float theMinum, float theMaximum) {
		_myTrackType = theTrackType;
		_myMinum = theMinum;
		_myMaximum = theMaximum;
	}
	
	public boolean accumulateValues() {
		return _myAccumulateValues;
	}
	
	public void accumulateValues(final boolean theAccumulateValues) {
		_myAccumulateValues = theAccumulateValues;
	}
	
	public float minimum() {
		return _myMinum;
	}
	
	public float maximum() {
		return _myMaximum;
	}
	
	public TrackType trackType() {
		return _myTrackType;
	}
}